package weifei.live.simulation.entity.dto;

import lombok.Data;
import weifei.live.simulation.entity.Adminer;


@Data
public class AdminerDTO
{
    private final int id;
    private final String nickname;
    private final String username;

    public AdminerDTO(Adminer adminer)
    {
        this.id = adminer.getId();
        this.nickname = adminer.getNickname();
        this.username = adminer.getUsername();
    }
}


